package io.wdb.modules.generator.generator.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;


/**
 * 现金账户变动记录表
 * 
 * @author wdb
 * @email admin@wdb007.com
 * @date 2017-11-30 15:15:37
 */
public class AccountCashLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//账户id
	private Long accountCashId;
	//订单id
	private Long orderId;
	//操作类型
	private Integer operType;
	//充值类型
	private Integer chargeType;
	//变动金额
	private BigDecimal changeAmount;
	//创建时间
	private Date createTime;
	//修改时间
	private Date modifyTime;
	//币种:默认CNY
	private String currency;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：账户id
	 */
	public void setAccountCashId(Long accountCashId) {
		this.accountCashId = accountCashId;
	}
	/**
	 * 获取：账户id
	 */
	public Long getAccountCashId() {
		return accountCashId;
	}
	/**
	 * 设置：订单id
	 */
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：订单id
	 */
	public Long getOrderId() {
		return orderId;
	}
	/**
	 * 设置：操作类型
	 */
	public void setOperType(Integer operType) {
		this.operType = operType;
	}
	/**
	 * 获取：操作类型
	 */
	public Integer getOperType() {
		return operType;
	}
	/**
	 * 设置：充值类型
	 */
	public void setChargeType(Integer chargeType) {
		this.chargeType = chargeType;
	}
	/**
	 * 获取：充值类型
	 */
	public Integer getChargeType() {
		return chargeType;
	}
	/**
	 * 设置：变动金额
	 */
	public void setChangeAmount(BigDecimal changeAmount) {
		this.changeAmount = changeAmount;
	}
	/**
	 * 获取：变动金额
	 */
	public BigDecimal getChangeAmount() {
		return changeAmount;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：修改时间
	 */
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getModifyTime() {
		return modifyTime;
	}
	/**
	 * 设置：币种:默认CNY
	 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	/**
	 * 获取：币种:默认CNY
	 */
	public String getCurrency() {
		return currency;
	}
}
